
import request from '@/utils/request'

export default {
    getList(params) {
      return request({
	    url: '/sxUserBonus/',
	    method: 'get',
	    params
	  })
    },

    get(params) {
      return request({
        url: '/sxUserBonus/' + params.id,
        method: 'get',
        params
      })
	},
	
	getPage(params) {
      return request({
        url: '/sxUserBonus/page',
        method: 'get',
        params
      })
    },
    
    update(params) {
      return request({
        url: '/sxUserBonus/update',
        method: 'post',
        params
      })
    },
    
    insert(params) {
      return request({
        url: '/sxUserBonus/insert',
        method: 'post',
        params
      })
    },
    
    remove(params) {
      return request({
        url: '/sxUserBonus/delete',
        method: 'post',
        params
      })
    }
}